﻿ 
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                assembly="FluentlyDo"
                namespace="FluentlyDo">


  <sql-query name="GetPersonByAgeRange">
    <return class="FluentlyDo.Entities.Person, FluentlyDo" />
    exec dbo.GetPersonByAgeRange :@startAge, :@endAge
  </sql-query>


  <sql-query name="SearchCount">
    <return class="FluentlyDo.Entities.PersonSearch, FluentlyDo" />
    exec dbo.SearchCount
  </sql-query>
  
  <sql-query name="Search">
    <return class="FluentlyDo.Entities.PersonSearchResult, FluentlyDo" />
    exec dbo.Search 
  </sql-query>

</hibernate-mapping>

<!--<sql-query name="GetPersonByAgeRange">
  <return class="FluentlyDo.Entities.Person, FluentlyDo" />
  exec dbo.GetPersonByAgeRange :@startAge :@endAge
</sql-query>-->